package com.mzj.saas.mservice.backlog.repository;

import com.mzj.saas.mservice.backlog.entity.BacklogItemLock;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface BacklogItemLockRepository extends PagingAndSortingRepository<BacklogItemLock, Long>, JpaSpecificationExecutor<BacklogItemLock> {

	BacklogItemLock findBacklogItemLockByBillId(Long billId);
	
	List<BacklogItemLock> findByBacklogItemId(Long backlogItemId);
	
}
